package com.mooneros.study.designpattern.chain;


/**
 * @author mac
 */
public class Process_2 implements BaseProcess {

    @Override
    public void execute() {
        System.out.println("Process_2 执行");
    }

    @Override
    public BaseProcess executeNextProcess(BaseProcess nextProcess) {
        this.execute();
        return nextProcess;
    }
}
